package com.dadu.www;
public class Dog1 {
    private String name;
     int age;
    public String color;

    public Dog1(String name, int age, String color) {
        this.name = name;
        this.age = age;
        this.color = color;
    }

    public void sheep(){
        System.out.println(this.name + "正在睡觉！");
    }
    public void eat(){
        System.out.println(this.name + "正在吃饭！");
    }
}
